﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace B.S.Production.Domain.Entities
{
    /// <summary>
    /// 订单记录表
    /// </summary>
    public class ProductionOrderRecord
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        /// <summary>
        /// 所需物料id
        /// </summary>
        public int RequiredId { get; set; }
        /// <summary>
        /// 生产订单id
        /// </summary>
        public int ProdunctionId { get; set; }
        /// <summary>
        /// 派工产品id
        /// </summary>
        public int DispatchId {  get; set; }
        /// <summary>
        /// 客户订单id
        /// </summary>
        public int CoId {  get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStatus {  get; set; }
        /// <summary>
        /// 订单名称
        /// </summary>
        public string OrderName { get; set; }
        /// <summary>
        /// 订单客户
        /// </summary>
        public string OrderCustomer { get; set; }
        /// <summary>
        /// 逻辑删除true-false
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
